<?php
/**
 * Created by PhpStorm.
 * User: chenxuyi
 * Date: 2018/2/6
 * Time: 下午2:45
 */

namespace App\Constant;

class CacheConstant
{

    const TIMEOUT_MINUTE    = 1;
    const TIMEOUT_MINUTE_5  = 5;
    const TIMEOUT_MINUTE_10 = 10;
    const TIMEOUT_MINUTE_30 = 30;
    const TIMEOUT_HOUR      = 60;
    const TIMEOUT_HOUR_12   = 60 * 12;
    const TIMEOUT_DAY       = 60 * 24;
    const TIMEOUT_WEEK      = 60 * 24 * 7;

    const ADMIN_LOGIN_PREFIX = 'ADMIN:LOGIN:';

}